/*
 * @(#)Move.java	1.0 2010/06/30
 *
 * Copyright 2010 guyven and David Croft. All rights reserved.
 */
package com.iawg.attrition.game.map.movement;

import com.iawg.attrition.game.Action;
import com.iawg.attrition.game.map.Position;
import com.iawg.attrition.game.units.Unit;

/**
 * The Move class allows a unit to navigate across the game Board. The performAction method will
 * calculate the unit's position verse the Move destination and take into account the
 * units speed towards the destination. The move class will attempt to get the unit to
 * the destination.
 * 
 * @author guyven
 * @author William David Croft Jr.
 * @version 1.0 2010/06/30
 */
public class Move extends Action{

	/**
	 * Constructs a new Move object.
	 * 
	 * @param destination The end position that the movable object is trying to go to.
	 */
	public Move(Unit actor, Position destination) {
		super(actor, destination);
	}

	@Override
	public void performAction() {
		System.out.println("Unit moved.");
	}
}